package com.fen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
/**
* @Description: 用户表的实体类
* @Author: lijiafen
* @Date:  2021/10/29
* @Time: 16:57
* @eamil: 2368044269@qq.com
*/
@Data
public class User {
    @TableId(type = IdType.AUTO)
    /*id是自动增长的话加上这个注解*/
    private Integer id;
    /*姓名*/
    private String username;
    /*密码*/
    private String password;
    /*判断1是管理员0是用户*/
    private Integer type;
    /*电话号码*/
    private String telephone;
    /*年龄*/
    private Integer age;
    /*性别*/
    private String sex;
    /*省*/
    private String province;
    /*市*/
    private String city;
    /*详细信地址*/
    private String local;
    /*电子邮箱*/
    private String email;
    /*时间*/
    private LocalDateTime createTime;
}
